quartz: add a default application menu
authorRyan Lortie <desrt@desrt.ca>
Wed, 15 Jan 2014 05:38:02 +0000 (00:38 -0500)
committerRyan Lortie <desrt@desrt.ca>
Sat, 18 Jan 2014 04:14:20 +0000 (23:14 -0500)
commitfdc66af5ce636ee8effd723b7507eb4417042638
treedc747a27888f246ca38c46a1cb8269ce5439887a
parent3f1a413d0c673e4bbe9a1785b0cd3a0cbb015ad3
quartz: add a default application menu

When running on quartz, it is no longer expected for applications to
provide their own application menu.  Instead, they should simply ensure
that they provide "app.about", "app.preferences" and "app.quit" actions
(which many apps are already doing).

A default menu will be shown that looks like the one presented by all
other Mac OS applications, containing menu items for the above actions,
as well as the typical "Hide app", "Hide Others and "Show All" items and
the "Services" submenu.

If an application does explicitly set an application menu (via
gtk_application_set_app_menu()) then it will be respected, as before.

https://bugzilla.gnome.org/show_bug.cgi?id=720552
gtk/Makefile.am
gtk/gtk.gresource.xml
gtk/gtkapplication-quartz.c
gtk/gtkapplication-quartz.ui [new file with mode: 0644]
gtk/gtkapplication-quartz.ui.h [new file with mode: 0644]
po/POTFILES.in